/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-08-17 17:24:44
 * @LastEditors: 陈妮娜 969682281@qq.com
 * @LastEditTime: 2024-11-22 15:05:15
 * @FilePath: \backstage\src\api\request.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import {
    // req,
    reqNull,
    // up,
    // reqNulls,
    // reqNull1,
} from '@/api/index';
// let url = 'http://1.14.103.201:8300/IOTManagement/' //高信
// let url = 'http://192.168.0.02:8080/IOTManagement/' //孙猛本地
// let url = 'http://192.168.0.16:8300/IOTManagement/' //李康本地
let url = 'http://192.168.0.20:8080/IOTManagement/' //薛星宇本地
// let url = 'http://192.168.0.44:8080/IOTManagement/' //韩磊/本地

//预制梁板信息
// 预制梁板信息-列表
export const getBeamLists = (res) => {
    return reqNull("post", url + "precast/getBeamLists", res)
}
// 预制梁板信息-列表详情
export const getBeam = (res) => {
    return reqNull("post", url + "precast/getBeam", res)
}
// 预制梁板信息-列表保存
export const saveBeam = (res) => {
    return reqNull("post", url + "precast/saveBeam", res)
}
// 预制梁板信息-梁号列表
export const getBeamInfoLists = (res) => {
    return reqNull("post", url + "precast/getBeamInfoLists", res)
}
// 预制梁板信息-梁号详情
export const getBeamInfo = (res) => {
    return reqNull("post", url + "precast/getBeamInfo", res)
}
// 预制梁板信息-梁号保存
export const saveBeamInfo = (res) => {
    return reqNull("post", url + "precast/saveBeamInfo", res)
}

// 关键工程信息-列表
export const getKeyInfoList = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/getKeyInfoList", res)
}
// 关键工程信息-列表保存
export const saveKeyInfo = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/saveKeyInfo", res)
}
// 关键工程信息-列表详情
export const getKeyInfo = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/getKeyInfo", res)
}
// 关键工程信息-列表提交
export const updateKeyInfoStatus = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/updateKeyInfoStatus", res)
}
// 关键工程信息-列表删除
export const deleteKeyInfo = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/deleteKeyInfo", res)
}

// 关键工程信息-无人机列表
export const getKeyInfoDetailList = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/getKeyInfoDetailList", res)
}
// 关键工程信息-无人机新增
export const saveKeyDetail = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/saveKeyDetail", res)
}
// 关键工程信息-无人机详情
export const getKeyInfoDetail = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/getKeyInfoDetail", res)
}
// 关键工程信息-无人机删除
export const deleteKeyDetailList = (res) => {
    return reqNull("post", url + "KeyEngineeringInfo/deleteKeyDetailList", res)
}

//预制梁板信息


